<% @main_header = "#{link_to('Ptrack:', '/')} #{@project.name if @project}: Members" %>
<h3>Listing Team Members</h3>
<p>Check to activate, uncheck to deactivate users</p>
<% form_tag "/projects/#{@project.id}/members/update" do |f| %>
  <% for user in @users %>
    <%= check_box_tag 'ids[]', user.id, @member_ids.include?(user.id)  %>
    <%= link_to user.login, project_user_url(@project.id,user) %><br />
  <% end %>
  <br/>
  <%= submit_tag 'Update' %>
<% end %>